﻿/*
Project Name : Menfram
Module Name  : Menfram
Date  : 07/06/2013
responsible : Mateus Neto
Obs  : The license of this software is Mozilla Public License 1.1 
contact : mentrixmax@gmail.com
*/

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Menfram.DAL.Reflection
{
    /// <summary>
    /// Class reponsablity of the mapped the Atribute
    /// </summary>
    [AttributeUsage(AttributeTargets.Property, AllowMultiple = false)]
    public class Field : Attribute
    {
        public String TableName { get; set; }
        public String FieldName { get; set; }
        
    }


    /// <summary>
    /// Class reponsablity of the mapped the Table
    /// </summary>
    [AttributeUsage(AttributeTargets.Class, AllowMultiple = false)]
    public class Table : Attribute
    {
        public String TableName { get; set; }
        public String SequenceName { get; set; }
        public String KeyName { get; set; }
        public String ClassName { get; set; }
    }
}
